<h1 class="font-red">编辑之前请先返回主菜单保存当前存档，最好备份当前存档，以防存档数据丢失</h1>

<form nz-form (ngSubmit)="submit()" #myForm="ngForm">
  <div nz-row [nzGutter]="24">

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">情报数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['秘境情报']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d1">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加的情报数量">
          <input nz-input name="d1" id="d1" type="number" [(ngModel)]="data['增加情报数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">灵气数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['灵炁数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d2">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加的灵气数量">
          <nz-input-group nzAddOnAfter="单位亿">
            <input nz-input name="d2" id="d2" type="number" [(ngModel)]="data['增加灵炁数量']"/>
          </nz-input-group>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">龙魂数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['龙魂数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d3">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加的龙魂数量">
          <input nz-input name="d3" id="d3" type="number" [(ngModel)]="data['增加龙魂数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">天材地宝(紫)数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['天材地宝数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d4">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加的天材地宝数量">
          <input nz-input name="d4" id="d4" type="number" [(ngModel)]="data['增加天材地宝数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">洗点丹数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['洗点丹数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d10">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加洗点丹数量">
          <input nz-input name="d10" id="d10" type="number" [(ngModel)]="data['增加洗点丹数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">攻击丹数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['攻击丹数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d5">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加攻击丹数量">
          <input nz-input name="d5" id="d5" type="number" [(ngModel)]="data['增加攻击丹数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">速度丹数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['速度丹数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d9">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加速度丹数量">
          <input nz-input name="d9" id="d9" type="number" [(ngModel)]="data['增加速度丹数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">会心丹数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['会心丹数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d7">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加会心丹数量">
          <input nz-input name="d7" id="d7" type="number" [(ngModel)]="data['增加会心丹数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">防御丹数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['防御丹数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d6">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加防御丹数量">
          <input nz-input name="d6" id="d6" type="number" [(ngModel)]="data['增加防御丹数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">体力丹数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['体力丹数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d8">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加体力丹数量">
          <input nz-input name="d8" id="d8" type="number" [(ngModel)]="data['增加体力丹数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">改颜丹数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['改颜丹数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d11">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加改颜丹数量">
          <input nz-input name="d11" id="d11" type="number" [(ngModel)]="data['增加改颜丹数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">塑形丹数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['塑形丹数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d12">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加塑形丹数量">
          <input nz-input name="d12" id="d12" type="number" [(ngModel)]="data['增加塑形丹数量']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">玄族元神数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['玄族元神数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d13">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加玄族元神数量">
          <input nz-input name="d13" id="d13" type="number" [(ngModel)]="data['增加玄族元神']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">仙族元神数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['仙族元神数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d14">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加仙族元神数量">
          <input nz-input name="d14" id="d14" type="number" [(ngModel)]="data['增加仙族元神']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">魔族元神数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['魔族元神数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d15">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加魔族元神数量">
          <input nz-input name="d15" id="d15" type="number" [(ngModel)]="data['增加魔族元神']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">妖族元神数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['妖族元神数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d16">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加妖族元神数量">
          <input nz-input name="d16" id="d16" type="number" [(ngModel)]="data['增加妖族元神']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">鬼族元神数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['鬼族元神数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d17">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加鬼族元神数量">
          <input nz-input name="d17" id="d17" type="number" [(ngModel)]="data['增加鬼族元神']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

    <div nz-col nzSpan="12">
      <nz-form-item>
        <nz-form-label [nzSpan]="4">偃族元神数量</nz-form-label>
        <nz-form-control [nzSpan]="2">{{data['偃族元神数量']}}</nz-form-control>
        <nz-form-label [nzSpan]="4" nzRequired nzFor="d18">增加</nz-form-label>
        <nz-form-control [nzSpan]="10" nzErrorTip="请输入想要增加偃族元神数量">
          <input nz-input name="d18" id="d18" type="number" [(ngModel)]="data['增加偃族元神']"/>
        </nz-form-control>
      </nz-form-item>
    </div>

  </div>


  <nz-form-item nz-row class="register-area">
    <nz-form-control [nzSpan]="14" [nzOffset]="6">
      <button nz-button nzType="primary" [disabled]="!myForm.dirty || myForm.invalid">保存</button>
    </nz-form-control>
  </nz-form-item>
</form>
